package com.study.test.demo.factory.methodFactroy;

import com.study.test.demo.factory.ICourse;
import com.study.test.demo.factory.JavaCourse;

/**
 * @Author hupengming
 * @ClassName JavaCourseFactory
 * @Date 2023-03-02  17:19
 * @Version 1.0
 */
public class JavaCourseFactory implements ICourseFactory{
    @Override
    public ICourse create() {
        return new JavaCourse();
    }
}
